﻿

-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date,,>
-- Description:	<Description,,>
-- =============================================
CREATE PROCEDURE [dbo].[Init_Fares]
	@versiune varchar(20)
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;
	DECLARE @nrRegSetup int
	SELECT @nrRegSetup=Count(*) FROM [FaresSetup]
	if @nrRegSetup=0
		INSERT INTO [FaresSetup]([FolosesteAdresa],[GolesteInainteImport]) 
		VALUES(0,0)
END